home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 September / Chip_2001-09_cd1.bin / sharewar / Slunec / app / pspads.exe / {app} / Context / Pascal.DEF < prev   
Encoding:
Text File  |  2001-07-30  |  2.1 KB  |  153 lines

  1. ; Tento soubor obsahuje kontextovou nßpov∞du pro program PSPad
  2. ; a zv²raz≥ovaΦ syntaxe pro Object Pascal
  3. ;
  4. ; ╪ßdky zaΦφnajφcφ st°ednφkem a prßzdnΘ °ßdky jsou ignorovßny
  5. ;
  6. ; Formßt p°φkaz∙ :
  7. ; [jmΘno_p°φkazu | popis p°φkazu (libovoln² text) ]
  8. ; °ßdek p°φkazu, kter² bude vlo₧en 
  9. ; °ßdek p°φkazu, kter² bude vlo₧en ...
  10. ; hlaviΦka p°φkazu je uzav°ena do [], znak | slou₧φ jako odd∞lovaΦ
  11. ; jmΘna p°φkazu a komentß°e
  12. ; pokud °ßdek p°φkazu obsahuje znak |, kurzor se po vlo₧enφ do
  13. ; textu zastavφ na tomto mφst∞
  14. ;
  15. ; Jak vidφte, nenφ problΘm napsat Üablonu t°eba na kostru programu
  16. ;
  17. ; autor: Borand - p°evzato z Delphi5
  18. ;
  19. [arrayd | array declaration (var)]
  20. array[0..|] of ;
  21.  
  22. [arrayc | array declaration (const)]
  23. array[0..|] of = ();
  24.  
  25. [cases | case statement]
  26. case | of
  27.   : ;
  28.   : ;
  29. end;
  30.   
  31. [casee | case statement (with else)]
  32. case | of
  33.   : ;
  34.   : ;
  35. else ;
  36. end;
  37.   
  38. [classf | class declaration (all parts)]
  39. T| = class(T)
  40. private
  41.  
  42. protected
  43.  
  44. public
  45.  
  46. published 
  47.  
  48. end;
  49.  
  50. [classd | class declaration (no parts)]
  51. T| = class(T)
  52.  
  53. end;
  54.  
  55. [classc | class declaration (with Create/Destroy overrides)]
  56. T| = class(T)
  57. private
  58.  
  59. protected
  60.  
  61. public
  62.   constructor Create; override;
  63.   destructor Destroy; override;
  64. published 
  65.  
  66. end;
  67.  
  68. [fors | for (no begin/end)]
  69. for | :=  to  do
  70.  
  71. [forb | for statement]
  72. for | :=  to  do
  73. begin
  74.  
  75. end;
  76.  
  77. [function | function declaration]
  78. function |(): ;
  79. begin
  80.  
  81. end;
  82.  
  83. [ifs | if (no begin/end)]
  84. if | then
  85.  
  86. [ifb | if statement]
  87. if | then
  88. begin
  89.  
  90. end;
  91.  
  92. [ife | if then (no begin/end) else (no begin/end)]
  93. if | then
  94.  
  95. else
  96.  
  97. [ifeb | if then else]
  98. if | then
  99. begin
  100.  
  101. end
  102. else
  103. begin
  104.  
  105. end;
  106.  
  107. [procedure | procedure declaration]
  108. procedure |();
  109. begin
  110.  
  111. end;
  112.  
  113. [trye | try except]
  114. try
  115.   | 
  116. except
  117.  
  118. end;
  119.  
  120. [tryf | try finally]
  121. try
  122.   | 
  123. finally
  124.  
  125. end;
  126.  
  127. [trycf | try finally (with Create/Free)]
  128. |variable := typename.Create; 
  129. try
  130.  
  131. finally
  132.   variable.Free;
  133. end;
  134.  
  135. [whileb | while statement]
  136. while | do
  137. begin
  138.  
  139. end;
  140.  
  141. [whiles | while (no begin)]
  142. while | do
  143.  
  144. [withb | with statement]
  145. with | do
  146. begin
  147.  
  148. end;
  149.  
  150. [withs | with (no begin)]
  151. with | do
  152.